package com.examination.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.kevinwalker.core.annotation.Collection;
import me.kevinwalker.core.annotation.RecordField;

@Collection("test")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    @RecordField("_id")
    private String id;

    @RecordField("user")
    private String userName;

    @RecordField("age")
    private int age;
}
